package com.sxjh.entity.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Finance7ListResult {

  @ApiModelProperty("合同号")
  private String contractNo;

  @ApiModelProperty("物料ID")
  private Integer materialId;

  @ApiModelProperty("公司ID")
  private Integer customerUserId;

  @ApiModelProperty("回填ID")
  private Integer backfillId;

  @ApiModelProperty("质检ID")
  private Integer qaId;

  @ApiModelProperty("车数")
  private Integer vehCount;

  @ApiModelProperty("装货开始时间")
  private LocalDateTime startTime;

  @ApiModelProperty(value = "质检结果", hidden = true)
  private String result;

  @ApiModelProperty("公司名称")
  private String companyName;

  @ApiModelProperty("净重")
  private BigDecimal weighbridgeWeight;

  @ApiModelProperty("结算数量")
  private BigDecimal settlementAmount;

  @ApiModelProperty("合同价")
  private BigDecimal contractPrice;

  @ApiModelProperty("结算价格")
  private BigDecimal settlementPrice;

  @ApiModelProperty(value = "每吨运输费用", hidden = true)
  private BigDecimal freight;

  @ApiModelProperty("结算总金额")
  private BigDecimal moneySum;

  @ApiModelProperty("水分质检结果")
  private BigDecimal waterResult;

  @ApiModelProperty("水分扣奖")
  private BigDecimal water;

  @ApiModelProperty("灰分质检结果")
  private BigDecimal ashResult;

  @ApiModelProperty("灰分扣奖")
  private BigDecimal ash;

  @ApiModelProperty("硫质检结果")
  private BigDecimal sulfurResult;

  @ApiModelProperty("硫扣奖")
  private BigDecimal sulfur;

  @ApiModelProperty("挥发份质检结果")
  private BigDecimal volatilizeResult;

  @ApiModelProperty("挥发份扣奖")
  private BigDecimal volatilize;

  @ApiModelProperty("焦沫质检结果")
  private BigDecimal foamResult;

  @ApiModelProperty("焦沫扣奖")
  private BigDecimal foam;

  @ApiModelProperty("m40质检结果")
  private BigDecimal m40Result;

  @ApiModelProperty("m40扣奖")
  private BigDecimal m40;

  @ApiModelProperty("m10质检结果")
  private BigDecimal m10Result;

  @ApiModelProperty("m10扣奖")
  private BigDecimal m10;

  @ApiModelProperty("csr质检结果")
  private BigDecimal csrResult;

  @ApiModelProperty("csr扣奖")
  private BigDecimal csr;

  @ApiModelProperty("cri质检结果")
  private BigDecimal criResult;

  @ApiModelProperty("cri扣奖")
  private BigDecimal cri;

  @ApiModelProperty("是否扣水")
  private Integer deductWater;

  /**
   * 车板  最终结算总价 = 总价+运费（最终结算量 * 运费单价）
   * 两票  最终结算总价 = 总价-运费
   * 一票  无需处理
   */
  @ApiModelProperty("价格类型，0|车板,1|一票,2|两票")
  private Integer priceType;

  @ApiModelProperty("补途，0|无补途,1|补途1%,2|补途4%")
  private Integer complementaryWay;

  @ApiModelProperty("付款方式，0|现汇预付,1|现汇现付,2|承兑预付,3|承兑现付")
  private Integer paymentMethod;

}
